package com.home766.service.impl;

import com.home766.dao.CustomerServiceDao;
import com.home766.entity.CustomerService;
import com.home766.service.CustomerSvService;
import net.biz.Page;
import net.biz.Pageable;
import net.biz.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service("customerSvServiceImpl")
@Transactional
public class CustomerSvServiceImpl extends BaseServiceImpl<CustomerService,Long> implements CustomerSvService{
	
	@Resource(name="customerServiceDaoImpl")
	private CustomerServiceDao customerServiceDao;
	@Autowired
	public void setBaseDao(CustomerServiceDao customerServiceDao) {
		super.setBaseDao(customerServiceDao);
	}
	@Override
	public Page<CustomerService> findList(CustomerService customerService,
                                          Pageable pageable, String properties) {
		// TODO Auto-generated method stub
		return customerServiceDao.findList(customerService, pageable, properties);
	}

}
